﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WinAppBasics
{
    class Student
    {
        private string name;
        private int age;
        private int matNumber;

        //Konstruktor
        public Student (string _name, int _age, int _matNumber) {
            name = _name;
            age = _age;
            matNumber = _matNumber;
        }
        
        //gibt Student aus
        public string printMe() {
            string student = "Name: " + name + " Alter: " + age.ToString() + "Matrikelnummer: " + matNumber.ToString();
            return student;
        }
    }
}
